package com.huiruan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName t_stock
 */
@TableName(value ="t_stock")
@Data
public class TStock  extends BaseEntity {
    /**
     *
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID) // 如果是UUID
    private Long id;

    /**
     *
     */
    @TableField(value = "code")
    private String code;

    /**
     *
     */
    @TableField(value = "name")
    private String name;

    /**
     *
     */
    @TableField(value = "deptcode")
    private String deptcode;

    /**
     *
     */
    @TableField(value = "deptname")
    private String deptname;

    /**
     *
     */
    @TableField(value = "nnum")
    private Integer nnum;

    /**
     *
     */
    @TableField(value = "barcode")
    private String barcode;

}
